package com.ctgu.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 菜单表
 * </p>
 *
 * @author yiMa
 * @since 2023-07-05
 */
@Getter
@Setter
  @ApiModel(value = "Menu对象", description = "菜单表")
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("菜单类型,0为根目录，1为子目录，2为不显示菜单（只是权限作用）")
      private String menuType;

      @ApiModelProperty("父菜单id")
      private String parentId;

      @ApiModelProperty("菜单名")
      private String menuName;

      @ApiModelProperty("路由地址")
      private String path;

      @ApiModelProperty("组件路径")
      private String component;

      @ApiModelProperty("菜单状态（0显示 1隐藏）")
      private String visible;

      @ApiModelProperty("菜单状态（0正常 1停用）")
      private String status;

      @ApiModelProperty("权限标识")
      private String perms;

      @ApiModelProperty("菜单图标")
      private String icon;

    private Long createBy;

    private LocalDateTime createTime;

    private Long updateBy;

    private LocalDateTime updateTime;

      @ApiModelProperty("是否删除（0未删除 1已删除）")
      private Integer delFlag;

      @ApiModelProperty("备注")
      private String remark;


}
